package com.webgis.demo.pojo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.sun.javafx.beans.IDProperty;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "Section")
@JsonIgnoreProperties({"handler","hibernateLazyInitializer"})

public class Section {
    @Id
    int id;
    @Column(name="name")
    String name;
    @Column(name="pointId")
    int pointId;
    @Column(name = "head_people")
    String handPeople;
    @Column(name = "tel")
    String tel;
    @Column(name = "status")
    String status;
    @Column(name = "grade")
    String grade;

    public void setTel(String tel) {
        this.tel = tel;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public void setHandPeople(String head_people) {
        this.handPeople = head_people;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setPointId(int pointId) {
        this.pointId = pointId;
    }

    public String getTel() {
        return tel;
    }

    public String getStatus() {
        return status;
    }

    public int getId() {
        return id;
    }

    public int getPointId() {
        return pointId;
    }

    public String getGrade() {
        return grade;
    }

    public String getHandPeople() {
        return handPeople;
    }

    public String getName() {
        return name;
    }
}
